package com.jxd.ordering.model;

/**
 * @ClassName Permission
 * @Description TODO
 * @Author Ankailong
 * @Date 2022/9/27
 * @Version 1.0
 */
public class Permission extends Entity {
    private Integer permission;
    private Integer page;

    public Integer getPermission() {
        return permission;
    }

    public void setPermission(Integer permission) {
        this.permission = permission;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Permission() {
    }

    public Permission(Integer permission, Integer page) {
        this.permission = permission;
        this.page = page;
    }

    @Override
    public String toString() {
        return "Permission{" +
                "permission=" + permission +
                ", page=" + page +
                '}';
    }
}
